package com.yunshang.shoppingmall.service.impl;

import com.yunshang.shoppingmall.entity.ViewChangeOrderRecord;
import com.yunshang.shoppingmall.mapper.ViewChangeOrderRecordMapper;
import com.yunshang.shoppingmall.service.ViewChangeOrderRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service()
public class ViewChangeOrderRecordServiceImpl implements ViewChangeOrderRecordService {
    @Autowired
    ViewChangeOrderRecordMapper viewChangeOrderRecordMapper;
    @Override
    public int insert(ViewChangeOrderRecord record) {
        return viewChangeOrderRecordMapper.insert(record);
    }

    @Override
    public int insertSelective(ViewChangeOrderRecord record) {
        return viewChangeOrderRecordMapper.insertSelective(record);
    }

    @Override
    public List<ViewChangeOrderRecord> selectList(String userNo) {
        return viewChangeOrderRecordMapper.selectList(userNo);
    }
}
